﻿using System;
using System.Html;


using enyo;

namespace Sample
{
    public class Class1
    {
        public void X()
        {
            var c1 = new Component(new ComponentCreateConfig()
            {
                Name = "x",
                Components = new ComponentCreateConfig[] 
                { 
                    new ComponentCreateConfig(){Name = "x1", Kind = "Component"},
                    new ComponentCreateConfig(){Name = "x2", Kind = "Component"},
                }
            });

            var c2 = new Component()
            {

            };


            var ax = new enyo.Ajax(new AjaxProperties { Url = "http://lcp-svr:8080/api/json" });
            ax.Go();
			ax.Response((sender, res) => {
				Console.Log(res);
                return null;
			});

            
        }

        
    }
}
